﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyRapChieuPhim.DTO
{
    class CaChieuDTO
    {

        private int m_DaXoa;
        public int DaXoa
        {
            get { return m_DaXoa; }
            set { m_DaXoa = value; }
        }

        private int m_MaCaChieu;
        public int MaCaChieu
        {
            get { return m_MaCaChieu; }
            set { m_MaCaChieu = value; }
        }

        private string m_TenCaChieu;
        public string TenCaChieu
        {
            get { return m_TenCaChieu; }
            set { m_TenCaChieu = value; }
        }

        private TimeSpan m_ThoiGianBatDau;
        public TimeSpan ThoiGianBatDau
        {
            get { return m_ThoiGianBatDau; }
            set { m_ThoiGianBatDau = value; }
        }

        private TimeSpan m_ThoiGianKetThuc;
        public TimeSpan ThoiGianKetThuc
        {
            get { return m_ThoiGianKetThuc; }
            set { m_ThoiGianKetThuc = value; }
        }


        public CaChieuDTO() { }


        public CaChieuDTO(int _MaCaChieu, string _TenCaChieu, TimeSpan _ThoiGianBatDau, TimeSpan _ThoiGianKetThuc) 
        {
            MaCaChieu = _MaCaChieu;
            TenCaChieu = _TenCaChieu;
            ThoiGianBatDau = _ThoiGianBatDau;
            ThoiGianKetThuc = _ThoiGianKetThuc;
        }


        public CaChieuDTO(CaChieuDTO CaChieu) 
        {
            MaCaChieu = CaChieu.MaCaChieu;
            TenCaChieu = CaChieu.TenCaChieu;
            ThoiGianBatDau = CaChieu.ThoiGianBatDau;
            ThoiGianKetThuc = CaChieu.ThoiGianKetThuc;
        }
    }
}
